package com.jboost.hyk.common.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 订单
 * @Author: cxn
 * @Date:   2022-10-22
 * @Version: V1.0
 */
@Data
@TableName("hyk_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_order对象", description="订单")
public class Order extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**businessId*/
    @ApiModelProperty(value = "businessId")
    private String businessId;

    /**订单金额（元）*/
    @ApiModelProperty(value = "订单金额（元）")
    private java.math.BigDecimal amount;

    /**状态：待支付-unpaid；退款中-refunding；已完成-completed；已关闭-closed；*/
    @ApiModelProperty(value = "状态：待支付-unpaid；退款中-refunding；已完成-completed；已关闭-closed；")
    private String status;

    /**是否已完成支付*/
    @ApiModelProperty(value = "是否已完成支付")
    private Integer isPaid;

    /**订单编号*/
    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "订单备注")
    private String remark;

}
